package com.bootdo.uitls;

import java.util.Calendar;
import java.util.Date;

public class DateUtil {
	public static Date CURRENT_DATE = new Date();
	public static Calendar CAL = Calendar.getInstance();
	public static int getYear(){
		return CAL.get(Calendar.YEAR);
	}
	public static int getMonth(){
		return CAL.get(Calendar.MONTH);
	}
	public static int getQuarter(){
		return (getMonth()+2)/3;
	}
	public static void main(String[] args) {
		
	}
}
